<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
    <xsl:param name="DOTNET2"/>
    

  
	<xsl:template match="Class"><xsl:variable name="Name" select="Name"/>
	
<![CDATA[&lt;%@ Page Language="C#" AutoEventWireup="true"]]> CodeBehind="<xsl:value-of select="Name"/>.aspx.cs" Inherits="<xsl:value-of select="//HeaderInfo/ProjectName"/>.Web.<xsl:value-of select="Name"/>" <![CDATA[%&gt;]]>

<![CDATA[&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;]]>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title><xsl:value-of select="Name"/></title>
</head>
<![CDATA[
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" EmptyDataText="No rows in DB" Width="100%">
        </asp:GridView>
	<p><asp:Button ID="Button1" runat="server" Text="Insert Row" OnClick="Button1_Click" /></p>
	<p><a href="default.aspx">Back</a></p>
    </div>
    </form>
</body>

]]>
</html>

	</xsl:template>
</xsl:stylesheet>